home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 21 / AACD 21.iso / AACD / Utilities / Ghostscript / src / gp_mswin.h < prev    next >
Encoding:
C/C++ Source or Header  |  2001-01-01  |  1.8 KB  |  58 lines

  1. /* Copyright (C) 1992, 1993, 1996 Aladdin Enterprises.  All rights reserved.
  2.   
  3.   This file is part of AFPL Ghostscript.
  4.   
  5.   AFPL Ghostscript is distributed with NO WARRANTY OF ANY KIND.  No author or
  6.   distributor accepts any responsibility for the consequences of using it, or
  7.   for whether it serves any particular purpose or works at all, unless he or
  8.   she says so in writing.  Refer to the Aladdin Free Public License (the
  9.   "License") for full details.
  10.   
  11.   Every copy of AFPL Ghostscript must include a copy of the License, normally
  12.   in a plain ASCII text file named PUBLIC.  The License grants you the right
  13.   to copy, modify and redistribute AFPL Ghostscript, but only under certain
  14.   conditions described in the License.  Among other things, the License
  15.   requires that the copyright notice and this notice be preserved on all
  16.   copies.
  17. */
  18.  
  19. /*$Id: gp_mswin.h,v 1.2 2000/09/19 19:00:24 lpd Exp $ */
  20. /* (used by both C code and Windows 'resource') */
  21.  
  22. #ifndef gp_mswin_INCLUDED
  23. #  define gp_mswin_INCLUDED
  24.  
  25.  
  26. #define GSTEXT_ICON    50
  27. #define GSIMAGE_ICON    51
  28. #define SPOOL_PORT    100
  29. #define CANCEL_PCDONE    101
  30. #define CANCEL_PRINTING    102
  31.  
  32. #ifndef RC_INVOKED        /* NOTA BENE */
  33.  
  34. /* system menu constants for image window */
  35. #define M_COPY_CLIP 1
  36.  
  37. /* externals from gp_mswin.c */
  38.  
  39. /* Patch 26.10.94 :for Microsoft C/C++ 8.0 32-Bit       */
  40. /* "_export" is Microsoft 16-Bit specific.              */
  41. /* With MS-C/C++ 8.00 32 Bit "_export" causes an error. */
  42. #if defined(_WIN32) && defined(_MSC_VER)
  43. #define _export
  44. #endif
  45.  
  46. extern HWND hwndtext;
  47. extern HWND hDlgModeless;
  48. extern HINSTANCE phInstance;
  49. extern const LPSTR szAppName;
  50. extern BOOL is_win32s;
  51. extern BOOL CALLBACK _export AbortProc(HDC, int);
  52. extern BOOL CALLBACK _export CancelDlgProc(HWND, UINT, WPARAM, LPARAM);
  53. extern int is_spool(const char *queue);
  54.  
  55. #endif /* !defined(RC_INVOKED) */
  56.  
  57. #endif /* gp_mswin_INCLUDED */
  58.